'''应用路由分发器'''
from django.contrib import admin
from django.urls import re_path
from blog import views
urlpatterns = [

    re_path(r'article/(\d{4}/$)', views.articleYear),
    re_path(r'article/(?P<year>\d{4})/(?P<month>\d{2})', views.articleYearMonth),
    re_path(r'registe/', views.registe,name='zhuce'),
    re_path(r'login/', views.login,name='denglu'),
    re_path(r'home/', views.home,name='home'),
    re_path(r'student/', views.student,name='student'),
    re_path(r'book/', views.book,name='book'),
    re_path(r'select/', views.select,name='select'),
    re_path(r'addbook/', views.addbook,name='addbook'),
    re_path(r'update/', views.update,name='update'),
    re_path(r'delete/', views.delete,name='delete'),

]


